﻿#ifndef ERRMESSAGE_H
#define ERRMESSAGE_H

#include <QWidget>
#include <tcpclient.h>
#include <mainwindow.h>
#include <CommonHelper.h>
#include <loghelper.h>
#include <intListener.h>



namespace Ui {
class errmessage;
}

class errmessage : public QWidget
{
    Q_OBJECT

public:
    explicit errmessage(QWidget *parent = 0);
    Ui::errmessage *ui;

    ~errmessage();
signals:
    void changeMainWindow();

private slots:
    void on_returnBtn_clicked();

    void on_SaveBtn_clicked();

    void on_BeginBtn_clicked();

    void valchange();

private:
    void showEvent(QShowEvent *event) override;

private:

    TcpClient * tcpClient;
    CommonHelper * commonClient;
    loghelper *logClient;

};

#endif // ERRMESSAGE_H
